/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Samuel.OfficeAssistant.GUI.initComponent;

import Samuel.Macrize.swing.Tree.CustomTreeModel;
import javax.swing.JTree;

/**
 *
 * @author samuel
 */
public class InitJTree {
    
    
    /**
     * 构造函数，传入TreeModel的名字
     * 用TreeModel创建一个以treeModel为根节点的树
     */
    public InitJTree(){
        CustomTreeModel newTreeModel = new CustomTreeModel();
        JTree tree = new JTree(newTreeModel.rootTreeNode);
    }
    

    
}
